<template>
	<view class="container">
		<form @submit="formSubmit" @reset="formReset">
			<view class="container-back">
				<view class="back padding20 ">
					<view class="flex Jbetween padding-bottom20 ">
						<view class="">本月营业收入</view>
						<view class="textColor fontWeight">总收入：256.00 </view>
					</view>
				</view>
				<view class="back padding20 ">
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月接待游客人数</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="employees_people" />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月员工总数</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="employees_people" />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月员工平均工资</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="" />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月用水量</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="water_consumption" />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月用电量</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="electricity_consumption"/>
						</view>
					</view>
					<view class="flex Jbetween padding-bottom20 ">
						<view class="">本月燃气量</view>
					</view>
					<view class="travel-list flex Jbetween Acenter page">
						<view class="flex Acenter " style="flex: 6;">
							<view class="block-back inline-block travel-img flex Jcenter Acenter">
								<image style="width: 50rpx;height: 50rpx;" src="../../../static/jizhang-min.png" mode="">
								</image>
							</view>
							<text class="fontWeight" style="color: #515151;">天燃气</text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30"  name="gas_consumption"  />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter page">
						<view class="flex Acenter " style="flex: 6;">
							<view class="block-back inline-block travel-img flex Jcenter Acenter">
								<image style="width: 50rpx;height: 50rpx;" src="../../../static/jizhang-min.png" mode="">
								</image>
							</view>
							<text class="fontWeight" style="color: #515151;">煤气</text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30"  name="gas_coal"  />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">其它</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="" />
						</view>
					</view>
					<u-line color="#E0E0E0"></u-line>
					<view class="flex Acenter margin-top20">
						<image style="width: 50rpx;height: 50rpx;" src="../../../static/uview/example/edit-min.png" mode="">
						</image>
						<input type="text" placeholder-style="color:#BFBFBF" placeholder="输入具体名目" class="padding-left30"
							name="">
					</view>
					<view class="travel-list flex Jbetween Acenter "  style="margin-top: 20rpx;">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月租赁费用</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="employees_people" />
						</view>
					</view>
					<view class="travel-list flex Jbetween Acenter ">
						<view class="flex Acenter " style="flex: 6;">
							<text class="fontWeight before" style="color: #515151;"><text
									class="margin-left30">本月维修（护）费用</text></text>
						</view>
						<view class="flex Acenter" style="flex: 4;">
							<input type="text" placeholder="点击输入" class="padding-left30" name="employees_people" />
						</view>
					</view>
				</view>
			</view >
			<view class="button-submit">
				<view class="button">
					<button  formType="submit" style="margin-top: 0; width: 100%">确定</button>
				</view>
			</view>
		</form>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods:{
			// 表单提交
			formSubmit: function (e) {
			    var that = this;
				 console.log('获取子组件的提交数据',e)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		background-color: #F5F5F5;
		.container-back{
			border-radius: 15rpx;
			padding: 20rpx;
			.travel-list {
				border-radius: 15rpx;
				padding: 10rpx;
				margin-bottom: 20rpx;
				.travel-img {
					width: 80rpx;
					height: 80rpx;
					border-radius: 15rpx;
					margin-right: 20rpx;
				}
			
				.before::before {
					content: '';
					width: 15rpx;
					height: 15rpx;
					border-radius: 50%;
					background-color: #1D69FC;
					position: absolute;
					margin-top: 12rpx;
					// margin-left: -30rpx;
				}
			}
			.travel-img {
				width: 80rpx;
				height: 80rpx;
				border-radius: 15rpx;
			}
		}
		.button-submit {
			background-color: #FFFFFF;
			position: fixed;
			margin-right: 20rpx;
			bottom: 0;
			width: 100%;
			padding-bottom: 30rpx;
			z-index: 1000;
			padding-left: 20rpx;
			padding-right: 20rpx;
			padding-top: 20rpx;
			.button{
				border-radius: 15rpx;
				button {
					background: linear-gradient(159deg, #80e6fc 0%, #0051ff 99%);
					// width: 100%;
					color: #FFFFFF;
					font-size: 30rpx;
				}
			}
		}
		
	}
</style>
